home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / BARNET / ARMLINUX / MAIL / 9804 / text0055.txt < prev    next >
Encoding:
Text File  |  1998-05-13  |  1.4 KB  |  39 lines

  1.  
  2. On Thu, 16 Apr 1998, Andrew Bower wrote:
  3.  
  4. >I cannot find a device suitable for reading ADFS discs among the
  5. >standard shapes on my i386 distribution.  How can this be done please? 
  6. >I have compiled in ADFS support, but I can't even read the raw data off
  7. >the floppies. 
  8.  
  9. The bad news? You can't right now. The ADFS support right now is basically
  10. for hard-drives, although if you can make up a disk image file, it should
  11. manage with that just fine too.
  12.  
  13. I've patched up the floppy drivers on past versions of linux (1.2.xx) to
  14. manage the trick, but looking over the current floppy drivers they've
  15. changed a bit.
  16.  
  17. I haven't got time to fix the current 2.1.x ones to handle ADFS disks
  18. myself - exams and the like - but it's certainly doable if someone is
  19. feeling brave enough to tackle it.
  20.  
  21. The one problem I had when I was working on 1.2.xx kernels is that the
  22. kernel doesn't manage to autodetect the sector size, so I was forced to
  23. make either a 512-byte-sector-kernel or a 1024-byte-sector-kernel - if
  24. someone does the patches on the current kernel, a more elegant solution
  25. would be nice too.
  26.  
  27. hint for anyone brave enough to tackle it (from what I vaguely remember
  28. from a few years ago): the FD_SIZECODE stuff in /usr/include/linux/fd.h is
  29. the really important bit, but you'll need to watch buffer sizes and stuff
  30. too.
  31.  
  32. Have fun all,
  33.  
  34. -- James Craig
  35.    <jcraig@mad.scientist.com>
  36.  
  37. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
  38.  
  39.